package com.iot.mapper;

import com.iot.pojo.MTdevice;
import com.iot.pojo.MTline_emp_set;
import com.iot.pojo.MTusers;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DTline_emp_setMapper {
	public List<Map<String,Object>> fetchByPage(Map<String, Object> map);
	public  List<Map<String,Object>> getDeviceByEmpId(Map<String, Object> map);

	public List<Map<String,Object>> getDeviceByEmpSetId(@Param("empId") int empId);
    public MTdevice getDeviceByImei(@Param("empId") int empId, @Param("imei") String imei);
	public  Map<String,Object> getLineSetById(@Param("id") int id);
	public MTline_emp_set getLineSet(@Param("empId") int empId, @Param("deviceId") int deviceId);
   List<MTusers> getUserByImei(@Param("imei") String imei);


}
